package edu.nf.work.entity;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author XCH
 * @date 2025 - 09 - 17
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Schema(name = "Product", description = "商品信息")
public class Product {
    @Schema(name = "id", description = "商品唯一标识", example = "1")
    private Integer id;
    @Schema(name = "name", description = "商品名称", example = "iPhone")
    private String name;
    @Schema(name = "price", description = "商品价格", example = "5000")
    private Integer price;
}
